<?php

namespace App\Admin\Actions\Get;

use Encore\Admin\Actions\RowAction;
use Illuminate\Database\Eloquent\Model;

class AddNextLevel extends RowAction
{
    public $name = '添加下级';
   
    public function href()
    {
        $pid = $this->getKey();
        return "product_category/create?pid=" . $pid;
    }

}